package cn.online.taxi.manager.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbOrderPaymentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TbOrderPaymentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("pay_type is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("pay_type is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(Integer value) {
            addCriterion("pay_type =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(Integer value) {
            addCriterion("pay_type <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(Integer value) {
            addCriterion("pay_type >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_type >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(Integer value) {
            addCriterion("pay_type <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(Integer value) {
            addCriterion("pay_type <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<Integer> values) {
            addCriterion("pay_type in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<Integer> values) {
            addCriterion("pay_type not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(Integer value1, Integer value2) {
            addCriterion("pay_type between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_type not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNull() {
            addCriterion("total_price is null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNotNull() {
            addCriterion("total_price is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceEqualTo(Double value) {
            addCriterion("total_price =", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotEqualTo(Double value) {
            addCriterion("total_price <>", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThan(Double value) {
            addCriterion("total_price >", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("total_price >=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThan(Double value) {
            addCriterion("total_price <", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanOrEqualTo(Double value) {
            addCriterion("total_price <=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIn(List<Double> values) {
            addCriterion("total_price in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotIn(List<Double> values) {
            addCriterion("total_price not in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceBetween(Double value1, Double value2) {
            addCriterion("total_price between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotBetween(Double value1, Double value2) {
            addCriterion("total_price not between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andBalancePriceIsNull() {
            addCriterion("balance_price is null");
            return (Criteria) this;
        }

        public Criteria andBalancePriceIsNotNull() {
            addCriterion("balance_price is not null");
            return (Criteria) this;
        }

        public Criteria andBalancePriceEqualTo(Double value) {
            addCriterion("balance_price =", value, "balancePrice");
            return (Criteria) this;
        }

        public Criteria andBalancePriceNotEqualTo(Double value) {
            addCriterion("balance_price <>", value, "balancePrice");
            return (Criteria) this;
        }

        public Criteria andBalancePriceGreaterThan(Double value) {
            addCriterion("balance_price >", value, "balancePrice");
            return (Criteria) this;
        }

        public Criteria andBalancePriceGreaterThanOrEqualTo(Double value) {
            addCriterion("balance_price >=", value, "balancePrice");
            return (Criteria) this;
        }

        public Criteria andBalancePriceLessThan(Double value) {
            addCriterion("balance_price <", value, "balancePrice");
            return (Criteria) this;
        }

        public Criteria andBalancePriceLessThanOrEqualTo(Double value) {
            addCriterion("balance_price <=", value, "balancePrice");
            return (Criteria) this;
        }

        public Criteria andBalancePriceIn(List<Double> values) {
            addCriterion("balance_price in", values, "balancePrice");
            return (Criteria) this;
        }

        public Criteria andBalancePriceNotIn(List<Double> values) {
            addCriterion("balance_price not in", values, "balancePrice");
            return (Criteria) this;
        }

        public Criteria andBalancePriceBetween(Double value1, Double value2) {
            addCriterion("balance_price between", value1, value2, "balancePrice");
            return (Criteria) this;
        }

        public Criteria andBalancePriceNotBetween(Double value1, Double value2) {
            addCriterion("balance_price not between", value1, value2, "balancePrice");
            return (Criteria) this;
        }

        public Criteria andWechatPriceIsNull() {
            addCriterion("wechat_price is null");
            return (Criteria) this;
        }

        public Criteria andWechatPriceIsNotNull() {
            addCriterion("wechat_price is not null");
            return (Criteria) this;
        }

        public Criteria andWechatPriceEqualTo(Double value) {
            addCriterion("wechat_price =", value, "wechatPrice");
            return (Criteria) this;
        }

        public Criteria andWechatPriceNotEqualTo(Double value) {
            addCriterion("wechat_price <>", value, "wechatPrice");
            return (Criteria) this;
        }

        public Criteria andWechatPriceGreaterThan(Double value) {
            addCriterion("wechat_price >", value, "wechatPrice");
            return (Criteria) this;
        }

        public Criteria andWechatPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("wechat_price >=", value, "wechatPrice");
            return (Criteria) this;
        }

        public Criteria andWechatPriceLessThan(Double value) {
            addCriterion("wechat_price <", value, "wechatPrice");
            return (Criteria) this;
        }

        public Criteria andWechatPriceLessThanOrEqualTo(Double value) {
            addCriterion("wechat_price <=", value, "wechatPrice");
            return (Criteria) this;
        }

        public Criteria andWechatPriceIn(List<Double> values) {
            addCriterion("wechat_price in", values, "wechatPrice");
            return (Criteria) this;
        }

        public Criteria andWechatPriceNotIn(List<Double> values) {
            addCriterion("wechat_price not in", values, "wechatPrice");
            return (Criteria) this;
        }

        public Criteria andWechatPriceBetween(Double value1, Double value2) {
            addCriterion("wechat_price between", value1, value2, "wechatPrice");
            return (Criteria) this;
        }

        public Criteria andWechatPriceNotBetween(Double value1, Double value2) {
            addCriterion("wechat_price not between", value1, value2, "wechatPrice");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceIsNull() {
            addCriterion("alipay_price is null");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceIsNotNull() {
            addCriterion("alipay_price is not null");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceEqualTo(Double value) {
            addCriterion("alipay_price =", value, "alipayPrice");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceNotEqualTo(Double value) {
            addCriterion("alipay_price <>", value, "alipayPrice");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceGreaterThan(Double value) {
            addCriterion("alipay_price >", value, "alipayPrice");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("alipay_price >=", value, "alipayPrice");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceLessThan(Double value) {
            addCriterion("alipay_price <", value, "alipayPrice");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceLessThanOrEqualTo(Double value) {
            addCriterion("alipay_price <=", value, "alipayPrice");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceIn(List<Double> values) {
            addCriterion("alipay_price in", values, "alipayPrice");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceNotIn(List<Double> values) {
            addCriterion("alipay_price not in", values, "alipayPrice");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceBetween(Double value1, Double value2) {
            addCriterion("alipay_price between", value1, value2, "alipayPrice");
            return (Criteria) this;
        }

        public Criteria andAlipayPriceNotBetween(Double value1, Double value2) {
            addCriterion("alipay_price not between", value1, value2, "alipayPrice");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdIsNull() {
            addCriterion("user_coupon_id is null");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdIsNotNull() {
            addCriterion("user_coupon_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdEqualTo(Integer value) {
            addCriterion("user_coupon_id =", value, "userCouponId");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdNotEqualTo(Integer value) {
            addCriterion("user_coupon_id <>", value, "userCouponId");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdGreaterThan(Integer value) {
            addCriterion("user_coupon_id >", value, "userCouponId");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_coupon_id >=", value, "userCouponId");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdLessThan(Integer value) {
            addCriterion("user_coupon_id <", value, "userCouponId");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_coupon_id <=", value, "userCouponId");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdIn(List<Integer> values) {
            addCriterion("user_coupon_id in", values, "userCouponId");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdNotIn(List<Integer> values) {
            addCriterion("user_coupon_id not in", values, "userCouponId");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdBetween(Integer value1, Integer value2) {
            addCriterion("user_coupon_id between", value1, value2, "userCouponId");
            return (Criteria) this;
        }

        public Criteria andUserCouponIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_coupon_id not between", value1, value2, "userCouponId");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceIsNull() {
            addCriterion("coupon_reduce_price is null");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceIsNotNull() {
            addCriterion("coupon_reduce_price is not null");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceEqualTo(Double value) {
            addCriterion("coupon_reduce_price =", value, "couponReducePrice");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceNotEqualTo(Double value) {
            addCriterion("coupon_reduce_price <>", value, "couponReducePrice");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceGreaterThan(Double value) {
            addCriterion("coupon_reduce_price >", value, "couponReducePrice");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceGreaterThanOrEqualTo(Double value) {
            addCriterion("coupon_reduce_price >=", value, "couponReducePrice");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceLessThan(Double value) {
            addCriterion("coupon_reduce_price <", value, "couponReducePrice");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceLessThanOrEqualTo(Double value) {
            addCriterion("coupon_reduce_price <=", value, "couponReducePrice");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceIn(List<Double> values) {
            addCriterion("coupon_reduce_price in", values, "couponReducePrice");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceNotIn(List<Double> values) {
            addCriterion("coupon_reduce_price not in", values, "couponReducePrice");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceBetween(Double value1, Double value2) {
            addCriterion("coupon_reduce_price between", value1, value2, "couponReducePrice");
            return (Criteria) this;
        }

        public Criteria andCouponReducePriceNotBetween(Double value1, Double value2) {
            addCriterion("coupon_reduce_price not between", value1, value2, "couponReducePrice");
            return (Criteria) this;
        }

        public Criteria andPaidPriceIsNull() {
            addCriterion("paid_price is null");
            return (Criteria) this;
        }

        public Criteria andPaidPriceIsNotNull() {
            addCriterion("paid_price is not null");
            return (Criteria) this;
        }

        public Criteria andPaidPriceEqualTo(Double value) {
            addCriterion("paid_price =", value, "paidPrice");
            return (Criteria) this;
        }

        public Criteria andPaidPriceNotEqualTo(Double value) {
            addCriterion("paid_price <>", value, "paidPrice");
            return (Criteria) this;
        }

        public Criteria andPaidPriceGreaterThan(Double value) {
            addCriterion("paid_price >", value, "paidPrice");
            return (Criteria) this;
        }

        public Criteria andPaidPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("paid_price >=", value, "paidPrice");
            return (Criteria) this;
        }

        public Criteria andPaidPriceLessThan(Double value) {
            addCriterion("paid_price <", value, "paidPrice");
            return (Criteria) this;
        }

        public Criteria andPaidPriceLessThanOrEqualTo(Double value) {
            addCriterion("paid_price <=", value, "paidPrice");
            return (Criteria) this;
        }

        public Criteria andPaidPriceIn(List<Double> values) {
            addCriterion("paid_price in", values, "paidPrice");
            return (Criteria) this;
        }

        public Criteria andPaidPriceNotIn(List<Double> values) {
            addCriterion("paid_price not in", values, "paidPrice");
            return (Criteria) this;
        }

        public Criteria andPaidPriceBetween(Double value1, Double value2) {
            addCriterion("paid_price between", value1, value2, "paidPrice");
            return (Criteria) this;
        }

        public Criteria andPaidPriceNotBetween(Double value1, Double value2) {
            addCriterion("paid_price not between", value1, value2, "paidPrice");
            return (Criteria) this;
        }

        public Criteria andRemainPriceIsNull() {
            addCriterion("remain_price is null");
            return (Criteria) this;
        }

        public Criteria andRemainPriceIsNotNull() {
            addCriterion("remain_price is not null");
            return (Criteria) this;
        }

        public Criteria andRemainPriceEqualTo(Double value) {
            addCriterion("remain_price =", value, "remainPrice");
            return (Criteria) this;
        }

        public Criteria andRemainPriceNotEqualTo(Double value) {
            addCriterion("remain_price <>", value, "remainPrice");
            return (Criteria) this;
        }

        public Criteria andRemainPriceGreaterThan(Double value) {
            addCriterion("remain_price >", value, "remainPrice");
            return (Criteria) this;
        }

        public Criteria andRemainPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("remain_price >=", value, "remainPrice");
            return (Criteria) this;
        }

        public Criteria andRemainPriceLessThan(Double value) {
            addCriterion("remain_price <", value, "remainPrice");
            return (Criteria) this;
        }

        public Criteria andRemainPriceLessThanOrEqualTo(Double value) {
            addCriterion("remain_price <=", value, "remainPrice");
            return (Criteria) this;
        }

        public Criteria andRemainPriceIn(List<Double> values) {
            addCriterion("remain_price in", values, "remainPrice");
            return (Criteria) this;
        }

        public Criteria andRemainPriceNotIn(List<Double> values) {
            addCriterion("remain_price not in", values, "remainPrice");
            return (Criteria) this;
        }

        public Criteria andRemainPriceBetween(Double value1, Double value2) {
            addCriterion("remain_price between", value1, value2, "remainPrice");
            return (Criteria) this;
        }

        public Criteria andRemainPriceNotBetween(Double value1, Double value2) {
            addCriterion("remain_price not between", value1, value2, "remainPrice");
            return (Criteria) this;
        }

        public Criteria andTailPriceIsNull() {
            addCriterion("tail_price is null");
            return (Criteria) this;
        }

        public Criteria andTailPriceIsNotNull() {
            addCriterion("tail_price is not null");
            return (Criteria) this;
        }

        public Criteria andTailPriceEqualTo(Double value) {
            addCriterion("tail_price =", value, "tailPrice");
            return (Criteria) this;
        }

        public Criteria andTailPriceNotEqualTo(Double value) {
            addCriterion("tail_price <>", value, "tailPrice");
            return (Criteria) this;
        }

        public Criteria andTailPriceGreaterThan(Double value) {
            addCriterion("tail_price >", value, "tailPrice");
            return (Criteria) this;
        }

        public Criteria andTailPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("tail_price >=", value, "tailPrice");
            return (Criteria) this;
        }

        public Criteria andTailPriceLessThan(Double value) {
            addCriterion("tail_price <", value, "tailPrice");
            return (Criteria) this;
        }

        public Criteria andTailPriceLessThanOrEqualTo(Double value) {
            addCriterion("tail_price <=", value, "tailPrice");
            return (Criteria) this;
        }

        public Criteria andTailPriceIn(List<Double> values) {
            addCriterion("tail_price in", values, "tailPrice");
            return (Criteria) this;
        }

        public Criteria andTailPriceNotIn(List<Double> values) {
            addCriterion("tail_price not in", values, "tailPrice");
            return (Criteria) this;
        }

        public Criteria andTailPriceBetween(Double value1, Double value2) {
            addCriterion("tail_price between", value1, value2, "tailPrice");
            return (Criteria) this;
        }

        public Criteria andTailPriceNotBetween(Double value1, Double value2) {
            addCriterion("tail_price not between", value1, value2, "tailPrice");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceIsNull() {
            addCriterion("replenish_price is null");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceIsNotNull() {
            addCriterion("replenish_price is not null");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceEqualTo(Double value) {
            addCriterion("replenish_price =", value, "replenishPrice");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceNotEqualTo(Double value) {
            addCriterion("replenish_price <>", value, "replenishPrice");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceGreaterThan(Double value) {
            addCriterion("replenish_price >", value, "replenishPrice");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("replenish_price >=", value, "replenishPrice");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceLessThan(Double value) {
            addCriterion("replenish_price <", value, "replenishPrice");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceLessThanOrEqualTo(Double value) {
            addCriterion("replenish_price <=", value, "replenishPrice");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceIn(List<Double> values) {
            addCriterion("replenish_price in", values, "replenishPrice");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceNotIn(List<Double> values) {
            addCriterion("replenish_price not in", values, "replenishPrice");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceBetween(Double value1, Double value2) {
            addCriterion("replenish_price between", value1, value2, "replenishPrice");
            return (Criteria) this;
        }

        public Criteria andReplenishPriceNotBetween(Double value1, Double value2) {
            addCriterion("replenish_price not between", value1, value2, "replenishPrice");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("pay_time is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(Date value) {
            addCriterion("pay_time =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(Date value) {
            addCriterion("pay_time <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(Date value) {
            addCriterion("pay_time >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pay_time >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(Date value) {
            addCriterion("pay_time <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("pay_time <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<Date> values) {
            addCriterion("pay_time in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<Date> values) {
            addCriterion("pay_time not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(Date value1, Date value2) {
            addCriterion("pay_time between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("pay_time not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNull() {
            addCriterion("created is null");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNotNull() {
            addCriterion("created is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedEqualTo(Date value) {
            addCriterion("created =", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotEqualTo(Date value) {
            addCriterion("created <>", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThan(Date value) {
            addCriterion("created >", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThanOrEqualTo(Date value) {
            addCriterion("created >=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThan(Date value) {
            addCriterion("created <", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThanOrEqualTo(Date value) {
            addCriterion("created <=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedIn(List<Date> values) {
            addCriterion("created in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotIn(List<Date> values) {
            addCriterion("created not in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedBetween(Date value1, Date value2) {
            addCriterion("created between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotBetween(Date value1, Date value2) {
            addCriterion("created not between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andUpdatedIsNull() {
            addCriterion("updated is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedIsNotNull() {
            addCriterion("updated is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedEqualTo(Date value) {
            addCriterion("updated =", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotEqualTo(Date value) {
            addCriterion("updated <>", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedGreaterThan(Date value) {
            addCriterion("updated >", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedGreaterThanOrEqualTo(Date value) {
            addCriterion("updated >=", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedLessThan(Date value) {
            addCriterion("updated <", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedLessThanOrEqualTo(Date value) {
            addCriterion("updated <=", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedIn(List<Date> values) {
            addCriterion("updated in", values, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotIn(List<Date> values) {
            addCriterion("updated not in", values, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedBetween(Date value1, Date value2) {
            addCriterion("updated between", value1, value2, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotBetween(Date value1, Date value2) {
            addCriterion("updated not between", value1, value2, "updated");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}